package com.jielihaofeng.springboot.shorturl;

import com.jielihaofeng.springboot.shorturl.constant.UrlConstants;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.oas.annotations.EnableOpenApi;

@EnableOpenApi
@SpringBootApplication
@MapperScan("com.jielihaofeng.springboot.shorturl.mapper")
public class ShorturlApplication {

    public static void main(String[] args) {

        SpringApplication.run(ShorturlApplication.class, args);

        System.out.println("短链系统："+ UrlConstants.shortSystemUrl);
        System.out.println("业务系统："+ UrlConstants.businessSystemUrl);
    }

}
